<div class="form-group" {guanlians}>
	<label class="col-xs-12 col-sm-3 col-md-2 right-label" ng-class="{'must':{must}}">{{check_show_lang('{title}')}}</label>
	<div class="col-xs-12 col-sm-8 col-lg-9" ng-init="checkobj({tovalue},'{name}')">
		<div class="row row-fix">
			<div class="col-xs-4 col-sm-4">
			<input type="text" ng-model="{tovalue}.{name}.lng" placeholder="地理经度"  class="form-control" />
			</div>
			<div class="col-xs-4 col-sm-4">
				<input type="text" ng-model="{tovalue}.{name}.lat" placeholder="地理纬度"  class="form-control" />
			</div>
			<div class="col-xs-4 col-sm-4">
				<button onclick="showCoordinate(this);" class="btn btn-gray" type="button">{{check_show_lang('选择坐标','Select lng-lat')}}</button>
			</div>
		</div>
	</div>
</div>
				<script type="text/javascript">
					function showCoordinate(elm) {
						require(["util"], function(util){
							var val = {};
							if(window.scope.{tovalue}.{name}==undefined){
								window.scope.{tovalue}.{name}={};
							}
							val.lng = parseFloat(window.scope.{tovalue}.{name}.lng);
							val.lat = parseFloat(window.scope.{tovalue}.{name}.lat);
							util.map(val, function(r){
								window.scope.{tovalue}.{name}.lng=r.lng;
								window.scope.{tovalue}.{name}.lat=r.lat;
								window.scope.$apply();
							});

						});
					}
				</script>